import 'package:inmotion_protocol/common/product_model.dart';
import 'package:inmotion_protocol/common/product_version.dart';
import 'package:inmotion_protocol/lorin/bean/euc/euc_statistics.dart';

class E25TotalStatistics extends EucTotalStatistics {
  E25TotalStatistics(ProductModel model, VersionWrapper version) : super(model, version);

  @override
  String toString() {
    return 'E25TotalStatistics{mileage: $mileage, energy: $energy, powerOnTime: $powerOnTime, recovery: $recovery, rideTime: $rideTime}';
  }
}

class E25HistoryStatistics extends EucStatistics {
  E25HistoryStatistics(ProductModel model, VersionWrapper version) : super(model, version);

  @override
  String toString() {
    return 'E25HistoryStatistics{index: $index, date: $date, maxSpeed: $maxSpeed, maxPower: $maxPower, maxMotorPower: $maxMotorPower, maxMosTemp: $maxMosTemp'
        ', maxMotorTemp: $maxMotorTemp, maxBatteryTemp: $maxBatteryTemp, maxBoardTemp: $maxBoardTemp, mileage: $mileage, energy: $energy, recovery: $recovery'
        ', rideTime: $rideTime, powerOnTime: $powerOnTime}';
  }
}
